import { setEnumPrefix } from "../../../../extensions/cocos-scaffold-3x/assets/common/Utils";
import { EventTypePrefix } from "../../../common/EventDef";



/**玩法的事件定义 */
export enum GpEventDef {

    /**主机执行命令 */
    masterExecCommand,
    /**同步帧 */
    syncFrame,

    /**创建Ecs实体 */
    onCreateEcsEntity,
    /**移除Ecs实体 */
    onRemoveEcsEntity,


    /**攻击开始 */
    onAttStart,
    /**攻击点触发 */
    onAttPointTriggered,
    /**攻击结束 */
    onAttEnd,

    /**伤害触发计算 */
    onDamage,

    /**治疗触发计算 */
    onCure,

    /**动作开始 */
    onActionStart,
    /**动作逻辑点触发 */
    onActionLogicTriggered,
    /**动作结束 */
    onActionEnd,


    /**touch Entity */
    onTouchEntity,


    /**playSound */
    playSound,
    /**playEff */
    playEff,
}
setEnumPrefix(GpEventDef, EventTypePrefix.gameplay)
